﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
using QL_KhachSan.App_Code.OBJ;
using QL_KhachSan.App_Code.DAL;

namespace QL_KhachSan.App_Code.BUS
{
    class BUS_Nguoidung
    {
        Nguoidung user;
        DAL_Nguoidung dal_nguoidung;
        public BUS_Nguoidung() {
            user = new Nguoidung();
            dal_nguoidung = new DAL_Nguoidung();
        }
        public Nguoidung select_nguoidung(string query, SqlParameter[] p) {
            user = null;
            user = dal_nguoidung.select_user(query, p);
            return user;
        }
    }
}
